home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / mtgrap1c / mouse.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-29  |  2.0 KB  |  76 lines

  1. /*****************************************************
  2. ; Filename     : mouse.h
  3. ;
  4. ; Date         : 24-6-94
  5. ; Mod. Date    : 
  6. ;
  7. ; Others    : Obtained from Ferraro
  8. ;        : VGA Trainer    (smith9@batis.bis.und.ac.za)
  9. ;        ; VGL20         (morley@camosun.bc.ca)
  10. ;****************************************************/
  11. #ifndef    MOUSE_H
  12. #define MOUSE_H
  13. int cursor[]={
  14.             0x87ff,        //1000011111111111b,
  15.             0x87ff,        //1000011111111111b,
  16.             0x87ff,        //1000011111111111b,
  17.             0x807f,        //1000000001111111b,
  18.             0x8007,        //1000000000000111b,
  19.             0x8003,        //1000000000000011b,
  20.             0x8001,        //1000000000000001b,
  21.             0x8001,        //1000000000000001b,
  22.             0x8001,        //1000000000000001b,
  23.             0x8001,        //1000000000000001b,
  24.             0x8003,        //1000000000000011b,
  25.             0x8003,        //1000000000000011b,
  26.             0xc003,        //1100000000000011b,
  27.             0xc007,        //1100000000000111b,
  28.             0xe007,        //1110000000000111b,
  29.             0xffff,        //1111111111111111b,
  30.  
  31.             0x0000,        //0000000000000000b,
  32.             0x3000,        //0011000000000000b,
  33.             0x3000,        //0011000000000000b,
  34.             0x3000,        //0011000000000000b,
  35.             0x3b00,        //0011101100000000b,
  36.             0x3bb8,        //0011101110111000b,
  37.             0x3bbc,        //0011101110111100b,
  38.             0x3ffc,        //0011111111111100b,
  39.             0x3ffc,        //0011111111111100b,
  40.             0x3ffc,        //0011111111111100b,
  41.             0x3ff8,        //0011111111111000b,
  42.             0x3ff8,        //0011111111111000b,
  43.             0x1ff8,        //0001111111111000b,
  44.             0x1ff0,        //0001111111110000b,
  45.             0x0000,        //0000000000000000b,
  46.             0x0000,        //0000000000000000b,
  47.  
  48. };
  49.  
  50. #ifdef __cplusplus
  51. extern "C" {
  52. #endif
  53.  
  54. int mtInitMouse();
  55. void mtShowMouse();
  56. void mtHideMouse();
  57. void mtGetMousePos(int *button, int *x, int *y);
  58. void mtSetMousePos(int x, int y);
  59. int mtGetMousePress(int button, int *count, int *x, int *y);
  60. int mtGetMouseRel(int button, int *count, int *x, int *y);
  61. void mtSetMouseWin(int x1,int y1,int x2, int y2);
  62. void mtSetDefCursor();
  63. void mtSetCursor(int *array);
  64. void mtSetMickeyRatio(int x,int y);
  65. void mtSetExclusiveArea(int x1,int y1,int x2,int y2);
  66. void mtSetDoubleSpeed(int x);
  67. void mtResetMouse(void);
  68.  
  69.  
  70. #ifdef __cplusplus
  71. }
  72. #endif
  73.  
  74. #endif MOUSE_H
  75.  
  76.